<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String basePath = request.getScheme() + "://" +
            request.getServerName() + ":"
            + request.getServerPort() +
            request.getContextPath() + "/";
%>
<html>
<head>
    <title>图书界面</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <base href="<%=basePath%>">
</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>修改书籍</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="book/updateBook.do" method="post">
        <div class="form-group">
            <label for="bookName">书籍名称:</label>
            <input type="text" name="bookName" class="form-control" id="bookName" value="${QBook.bookName}">
        </div>
        <div class="form-group">
            <label for="bookCounts">书籍数量:</label>
            <input type="text" name="bookCounts" value="${QBook.bookCounts}" class="form-control" id="bookCounts">
        </div>
        <div class="form-group">
            <label for="detail">书籍描述:</label>
            <input type="text" name="detail" value="${QBook.detail}" class="form-control" id="detail">
        </div>
            <input type="hidden"  value="${QBook.bookID}" name="bookID">
        <div class="form-group">
            <input type="submit" value="修改" class="form-control">
        </div>

    </form>


</div>
</body>
</html>
